﻿@model Actya.Core.Widgets.TwitterWidget
@using (new MvcForm(ViewContext))
{
	<div>
		@Html.LabelFor(m => m.Title)
		@Html.EditorFor(m => m.Title)
		@Html.ValidationMessageFor(m => m.Title)
	</div>

	<div>
		@Html.LabelFor(m => m.Type)
		@Html.EditorFor(m => m.Type, "Enum_RadioButtonList")
		@Html.ValidationMessageFor(m => m.Type)
	</div>
	
	<div>
		@Html.LabelFor(m => m.SearchTerm)
		@Html.EditorFor(m => m.SearchTerm)
		@Html.ValidationMessageFor(m => m.SearchTerm)
	</div>

	<div>
		@Html.LabelFor(m => m.NumberOfTweets)
		@Html.EditorFor(m => m.NumberOfTweets)
		@Html.ValidationMessageFor(m => m.NumberOfTweets)
	</div>

	<div>
		@Html.LabelFor(m => m.CacheDuration)
		@Html.EditorFor(m => m.CacheDuration)
		@Html.ValidationMessageFor(m => m.CacheDuration)
	</div>
}